<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PyfntbrequerViewDlg" widgetVar="PyfntbrequerViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewPyfntbrequerTitle}">

            <h:form id="PyfntbrequerViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{pyfntbrequerController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbrequerid}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.pyfntbrequerid}" title="#{myBundle.ViewPyfntbrequerTitle_pyfntbrequerid}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_nombre}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.nombre}" title="#{myBundle.ViewPyfntbrequerTitle_nombre}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_unidadmed}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.unidadmed}" title="#{myBundle.ViewPyfntbrequerTitle_unidadmed}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_codincop}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.codincop}" title="#{myBundle.ViewPyfntbrequerTitle_codincop}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_fecharegistro}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.fecharegistro}" title="#{myBundle.ViewPyfntbrequerTitle_fecharegistro}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_aprobacion}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.aprobacion}" title="#{myBundle.ViewPyfntbrequerTitle_aprobacion}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_notas}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.notas}" title="#{myBundle.ViewPyfntbrequerTitle_notas}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_valorunit}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.valorunit}" title="#{myBundle.ViewPyfntbrequerTitle_valorunit}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_cantidad}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.cantidad}" title="#{myBundle.ViewPyfntbrequerTitle_cantidad}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_observaciones}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.observaciones}" title="#{myBundle.ViewPyfntbrequerTitle_observaciones}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbtipobienid}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.pyfntbtipobienid.pyfntbtipobienid}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbpoaprogid}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.pyfntbpoaprogid.pyfntbpoaprogid}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbpartidaid}"/>
                        <h:outputText value="#{pyfntbrequerController.selected.pyfntbpartidaid.descripcion}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbactcreqCollection}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbreqmontoCollection}"/>

                        <h:outputText value="#{myBundle.ViewPyfntbrequerLabel_pyfntbpedidoCollection}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PyfntbrequerViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
